package co.edu.usbcali.sam.modelo.control;

import java.util.List;

import co.edu.usbcali.sam.modelo.Asignaturas;
import co.edu.usbcali.sam.modelo.dto.AsignaturasDTO;


/**
* @author Zathura Code Generator http://code.google.com/p/zathura
* www.zathuracode.org
*
*/
public interface IAsignaturasLogic {
    public List<Asignaturas> getAsignaturas() throws Exception;

    /**
         * Save an new Asignaturas entity
         */
    public void saveAsignaturas(Asignaturas entity) throws Exception;

    /**
         * Delete an existing Asignaturas entity
         *
         */
    public void deleteAsignaturas(Asignaturas entity) throws Exception;

    /**
        * Update an existing Asignaturas entity
        *
        */
    public void updateAsignaturas(Asignaturas entity) throws Exception;

    /**
         * Load an existing Asignaturas entity
         *
         */
    public Asignaturas getAsignaturas(Long idAsignatura)
        throws Exception;

    public List<Asignaturas> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<Asignaturas> findPageAsignaturas(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberAsignaturas() throws Exception;

    public List<AsignaturasDTO> getDataAsignaturas() throws Exception;
    
    public List<AsignaturasDTO> getDataAsignaturasByProfesor(Long idProfesor) throws Exception;
}
